<% layout("/common/layout.html",{"title":"组织机构"}){ %>
<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-sm-8">
        <h2>组织机构</h2>
        <ol class="breadcrumb">
            <li><a href="${ctxPath}/admin/main">主页</a></li>
            <li><a>投诉建议管理</a></li>
            <li class="active">投诉建议</li>
        </ol>
    </div>
    <div class="col-sm-4">
        <div class="title-action">
        </div>
    </div>
</div>
<div class="wrapper wrapper-content">
    <div class="row">
        <!-- 分类树  -->
        <div class="col-lg-2">
            <div class="ibox float-e-margins">
                <div class="ibox-content mailbox-content">
                    <div class="file-manager">
                        <div class="topTreeBanner style navy-bg">
                            <h3><i class="fa fa-slack"></i> 组织机构导航</h3>
                        </div>
                        <div class="space-25"></div>
                        <ul class="folder-list-none m-b-md">
                            <li><a class="btn-sm btn-outline btn-link" href="javascript:;" id="allResList"> <i
                                    class="fa fa-bars"></i>显示全部</a></li>
                            <ul id="navTree" class="ztree"></ul>
                        </ul>
                        <div class="clearfix"></div>
                    </div>
                </div>
            </div>
        </div>
        <!-- 分类树  -->


        <!-- 表格-->
        <div class="col-lg-10 animated fadeInDown">
            <div class="mail-box">
                <div class="ibox-content">
                    <table id="adminOrgList"></table>
                    <div class="toolBar" style="margin:0 -15px;">
                        <div class="col-sm-9">
                            <div class="btn-group">
                                <a class="btn btn-primary btn-outline toolbar-refresh"><i class="fa fa-refresh"> </i> 刷新</a>
                            </div>
                        </div>
						<div class="col-sm-3">
						
                            <div class="input-group">
                            <input type="hidden"  id="orgId">
                             <select name="type" class="form-control searchValue">
								<option value="">全部</option>
								<option value="1">投诉</option>
								<option value="2">建议</option>
							</select>
                                <span class="input-group-btn">
                                    <button type="button" id="search" class="btn btn-primary"><i class="fa fa-search"></i>&nbsp;搜索</button>
                                </span>
                            </div>
                            
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- 表格-->
    </div>
</div>

<% } %>
<script type="text/javascript">
    //页面JS调用
    require(['suggestion/suggestion'], function (suggestion) {
    	suggestion.list();
    });
    //列表参数
    function operateFormatter(value, row, index) {
        var tempCode = "";
        return '<div class="btn-group">' + tempCode + '</div>';
    }
</script>